<div style="width: 100%;height: 88px; background: url('{{asset('admin/imgs/topbg.gif')}}') repeat-x;">
    <div class="topleft">
        <a href="#">
            <img src="{{asset('admin/imgs/logo.png')}}" title="系统首页"/></a>
    </div>
    <?php $top_menu = \App\Utils\MenuUtil::adminMenu();?>
    <ul class="nav">
        @foreach($top_menu as $menu)



                <li>
                    <?php
                    $temp_class = "";
                    if ($top_selected == $menu['title']) {
                        $temp_class = "selected";
                        $GLOBALS['child_menu'] = $menu; //对应子菜单
                    }?>
                    <a href="{{$menu['url']}}" class="{{$temp_class}}">
                        <img src="{{asset($menu['icon'])}}"/>

                        <h2>{{$menu['title']}}</h2>
                    </a>
                </li>

        @endforeach
    </ul>
    <div class="topright">
        <div class="user" style="padding-right: 15px;margin-top: 40px;">
            <span>{{session('admin_name')}}</span>
            <i>消息</i>
            <b style="margin-left: 5px;">0</b>
            <a href="{{route('admin.login-exit')}}"
               style="font-size: 1.0em;color: white;cursor: pointer;">
                退出
            </a>
        </div>
    </div>
</div>